
package Merlion.CRM.bean;

import javax.ejb.Remote;

@Remote
public interface MessageManagerBeanRemote {

    public java.lang.Long addMessage(java.util.List<java.lang.String> receiverId, java.lang.String title, java.lang.String body);

    public void deleteMessage(java.lang.Long id);

    public java.util.List<Merlion.userManagement.entity.MessageEntity> viewMessage();

    public java.util.List<Merlion.userManagement.entity.SystemUserEntity> getUsers();

    public void markAsRead(java.lang.Long id);

    public java.util.List<Merlion.userManagement.entity.MessageEntity> viewNewMessage();

    public java.lang.Long addMessage(java.lang.String role, java.lang.String title, java.lang.String body);

    public java.util.List<Merlion.userManagement.entity.MessageEntity> viewSentItems();
    
}
